package com.sdp.irrigation.utils;

import lombok.Getter;

@Getter
public enum ServerResponseEnum {
	
	LOGIN_SUCCESS(20),//登录成功
	
	LOGIN_RETRY(21),//登录失败，重新登录
	
	LOGIN_REFUSE(22),//登录失败，设备禁止登录
	
	HEART_RESPONSE(30),//心跳应答
	
	DEV_RESPONSE(40),//设备帧数据应答
	
	USER_RESPONSE(50),//用户帧数据应答
	
	ALARM_RESPONSE(60),//报警应答
	
	BALANCE_RESULT(220),//余额应答
	
	USER_SETTLE_RESPONSE(1);//User帧结账应答
	
	
	final private int code;
	
	ServerResponseEnum(int code) {
        this.code = code;
    }
}
